home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / X11 / Xaw / AsciiText.h < prev    next >
C/C++ Source or Header  |  2006-04-12  |  5KB  |  129 lines

  1. /*
  2.  * $Xorg: AsciiText.h,v 1.4 2001/02/09 02:03:42 xorgcvs Exp $
  3.  */
  4.  
  5. /***********************************************************
  6.  
  7. Copyright 1987, 1988, 1994, 1998  The Open Group
  8.  
  9. Permission to use, copy, modify, distribute, and sell this software and its
  10. documentation for any purpose is hereby granted without fee, provided that
  11. the above copyright notice appear in all copies and that both that
  12. copyright notice and this permission notice appear in supporting
  13. documentation.
  14.  
  15. The above copyright notice and this permission notice shall be included in
  16. all copies or substantial portions of the Software.
  17.  
  18. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  19. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  20. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  21. OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  22. AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  23. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  24.  
  25. Except as contained in this notice, the name of The Open Group shall not be
  26. used in advertising or otherwise to promote the sale, use or other dealings
  27. in this Software without prior written authorization from The Open Group.
  28.  
  29.  
  30. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
  31.  
  32.                         All Rights Reserved
  33.  
  34. Permission to use, copy, modify, and distribute this software and its 
  35. documentation for any purpose and without fee is hereby granted, 
  36. provided that the above copyright notice appear in all copies and that
  37. both that copyright notice and this permission notice appear in 
  38. supporting documentation, and that the name of Digital not be
  39. used in advertising or publicity pertaining to distribution of the
  40. software without specific, written prior permission.  
  41.  
  42. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  43. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  44. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  45. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  46. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  47. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  48. SOFTWARE.
  49.  
  50. ******************************************************************/
  51. /* $XFree86: xc/lib/Xaw/AsciiText.h,v 1.5 2001/01/17 19:42:25 dawes Exp $ */
  52.  
  53. /*
  54.  * AsciiText.h - Public header file for AsciiText Widget
  55.  *
  56.  * This Widget is intended to be used as a simple front end to the 
  57.  * text widget with an ascii source and ascii sink attached to it
  58.  *
  59.  * Date:    June 29, 1989
  60.  *
  61.  * By:      Chris D. Peterson
  62.  *          MIT X Consortium 
  63.  *          kit@expo.lcs.mit.edu
  64.  */
  65. #ifndef _AsciiText_h
  66. #define _AsciiText_h
  67.  
  68. #include <X11/Xaw/Text.h>
  69. #include <X11/Xaw/AsciiSrc.h>
  70. #include <X11/Xaw/MultiSrc.h>
  71.  
  72. /* Resources:
  73.  
  74.  Name             Class        RepType          Default Value
  75.  ----             -----        -------          -------------
  76.  autoFill         AutoFill        Boolean          False
  77.  background         Background        Pixel          XtDefaultBackground
  78.  border             BorderColor    Pixel          XtDefaultForeground
  79.  borderWidth         BorderWidth    Dimension      1
  80.  bottomMargin         Margin        Position      2
  81.  cursor             Cursor        Cursor          xterm
  82.  destroyCallback     Callback        Pointer          NULL
  83.  displayCaret         Output        Boolean          True
  84.  displayPosition     TextPosition    int          0
  85.  editType         EditType        XawTextEditType      XawtextRead
  86.  font             Font        XFontStruct*      Fixed
  87.  foreground         Foreground        Pixel          Black
  88.  height             Height        Dimension      font height
  89.  insertPosition         TextPosition    int          0
  90.  international         International        Boolean        false
  91.  leftMargin         Margin        Position      2
  92.  mappedWhenManaged   MappedWhenManaged    Boolean          True
  93.  resize             Resize        XawTextResizeMode XawtextResizeNever
  94.  rightMargin         Margin        Position      4
  95.  scrollHorizontal    Scroll        XawTextScrollMode XawtextScrollNever
  96.  scrollVertical         Scroll        XawTextScrollMode XawtextScrollNever
  97.  selectTypes         SelectTypes    Pointer          pos/word/line/par/all
  98.  selection         Selection        Pointer          (empty selection)
  99.  sensitive         Sensitive        Boolean          True
  100.  sink             TextSink        Widget          (none)
  101.  source             TextSource        Widget          (none)
  102.  string             String        String          NULL
  103.  topMargin         Margin        Position      2
  104.  width             Width        Dimension      100
  105.  wrap             Wrap        XawTextWrapMode      XawtextWrapNever
  106.  x             Position        Position      0
  107.  y             Position        Position      0
  108.  
  109.  (see also *Src.h and *Sink.h)
  110. */
  111.  
  112. typedef struct _AsciiTextClassRec    *AsciiTextWidgetClass;
  113. typedef struct _AsciiRec            *AsciiWidget;
  114.  
  115. extern WidgetClass asciiTextWidgetClass;
  116.  
  117. /*
  118.  * Disk and String Emulation Info
  119.  */
  120. #ifdef ASCII_STRING
  121. extern WidgetClass asciiStringWidgetClass;
  122. #endif
  123.  
  124. #ifdef ASCII_DISK
  125. extern WidgetClass asciiDiskWidgetClass;
  126. #endif
  127.  
  128. #endif /* _AsciiText_h */
  129.